//national average overtime
use "Fig2_Data.dta"
graph twoway (scatter total_civil_cases year if year<2007, connect(direct) msymbol(circle) msize(large) /*
*/mcolor(green) yaxis(1) ytitle("Number of civil cases", axis(1))) (scatter total_criminal_cases year if year<2007, /*
*/connect(direct) msymbol(diamond) msize(small) /*
*/mcolor(black) yaxis(2) ytitle("Number of criminal cases", axis(2))), xtitle("Year") legend(position(6))
graph save Fig2a

line yoy_total_criminal_cases yoy_total_civil_cases year if year<2007 & year>1990, yline(0) legend(position(6))  
graph save Fig2b 

graph combine Fig2a Fig2b 